package com.iandun.web.framework.core.constants;

/**
 * 系统常量
 *
 * @author :jason.liang
 * @date: 2021-05-19 20:11
 */
public class GlobalConstants {

    /**
     * YES
     */
    public static final String YES = "1";

    /**
     * NO
     */
    public static final String NO = "0";

    /**
     * 字符集
     */
    public static final String CHARSET_UTF8 = "UTF-8";

    /**
     * 版本前缀
     */
    public static final String CURRENT_API_VERSION = "/v1";

    /**
     * 环境变量
     */
    public static final String ENV_KEY = "env";


    /**
     * 时间格式化 yyyy-MM-dd HH:mm:ss
     */
    public final static String DEFAULT_DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss";

    /****
     * 时间格式化 yyyy-MM-dd
     */
    public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd";
}
